package com.dht.xiao.jianye.command.base.callback;


import com.dht.xiao.jianye.command.base.exception.BaseSerialPortException;
import com.dht.xiao.jianye.command.base.serialport.CmdPack;

/**
 * 接口回调
 *
 * @param <T>
 */
public interface CommonCallback<T> {
    void onStart(CmdPack cmdPack);

    void onSuccess(T t,boolean checkout);

    void onFailed(BaseSerialPortException dLCException);
}
